Medical Cash in Lieu on W-2

Retired, moved out of state, but got a cash in lieu of medical coverage monthly to purchase my own insurance.  However, I received this reported on a W-2.  Does this mean I have to file taxes with that state, even though I don't live there and I am a resident in a different state?