Sold my principal residence in Quebec, Worked in Ontario, Moved to BC. Do I need to file tax return for Quebec?

My principal residence was in Quebec, but I sold it and moved to BC in September. I did remote work for the company located in Ontario throughout the year.  Do I need to file a tax return for Revenu Quebec?