If you established ties in a country that Canada has a tax treaty with and you are considered a resident of that country, but you are otherwise a factual resident of Canada, meaning you maintain significant residential ties with Canada, you may be considered a deemed non-resident of Canada. The same rules apply to deemed non-residents as non-residents of Canada.