Yes. When you are preparing your return, it will ask you what province you are in. At the bottom of that list, there are options for deemed residents and non-residents. Also make sure to answer the questions regarding when you entered/left Canada correctly, if they apply to you.