State tax filing

Thank you. Follow-up question -  I have not lived in MA (lived in CT entire year) but my gross income during December is more than $8,000.

In this case, do I still need to file non-resident MA state tax return?