Remote work and state tax return issue

I live in AZ, and worked remotely for a company in C.T. for half year through a staffing agency company located in Michigan. I received W-2 from the Staffing agency company withholding  AZ state tax. I have never physically been to Michigan and C.T.  Am I subject to state income tax in Michigan and C.T.?  Thx.