State tax filing

Thank you @MarilynG1 ! I have never lived in CT. I just moved from MA to NY, but commute to CT office after moving to NY, would I still be able to file as a part-year resident, instead of a non-resident?