I found many answers here incorrect and some very disrespectful, to not say almost racist. A CRA's publication entitled "Canadian Residents Abroad" clearly states that, I quote:
«You are a factual resident of Canada if you keep significant residential ties in Canada while living or travelling...