It would be best to first confirm your residency status with the Canada Revenue Agency.
Please use the following link to help determine your residency status.
http://www.cra-arc.gc.ca/tx/nnrsdnts/cmmn/rsdncy-eng.html