Memorandum D2-6-1: Residential Status of Travellers Arriving in Canada.
Residents of Canada are defined as persons who, in the settled routine of their life, make their home, reside, and are ordinarily present in Canada.
...
Similarly, non-residents are persons who, in the settled routine of their life, make their home, reside, and are ordinarily present in a place outside Canada.