My employer is located in CT but I worked for them in another state do I have to file a tax return in that state?

My CT employer pays my wages when I work in another state this year I worked in RI NY and NH do i have to file a return in all 3 states?