Investors and rental owners

How do I enter income (Canada and United States) in the year where my residency moved from Canada to the United States.  I have income from both countries during the year.