My mailing address is in a different state

I “lived” in one state for a short time and then traveled out of the country and worked remotely during that time for a US employer,  but I had all of my mail go to an address in a different state. I don’t have a home right now and I’m couch surfing between friends in 2 states. My employers have only my mailing address and not the physical address of where I lived. Do I file a state return for  my mailing address or my physical address? One employer had state taxes taken out based on the state my mail goes to,but I didn’t live at all in that state in 2024.  Help!