Resident or Non-Resident

If I am in Canada on a work permit, am I considered a resident or non-resident for income tax purposes?