Residence can really only be determined by Canada Revenue. You will need to explain the situation, they will probably send you a questionnaire. Expect your residence status to take them a bit of time. Another issue of interest is your home which was rented. Did you move back into it, or did you rent or live elsewhere. If you moved back into the home, make an appointment with an accountant to discuss any potential tax problems.