Correction to comment above (misleading): tax rules do not care about your immigration status. You are a Canadian resident for tax purposes if you reside in Canada for 183 days or more, at which point you would have to pay tax on your worldwide income.