Please use the following FAQ for help in understanding the definitions of residency.
https://turbotax.community.intuit.ca/replies/2647682