Investors and rental owners

If you are a non-resident then you would report income only earned in Canada or connected to Canada. Are you filing a 2016 tax return upon leaving Canada?