State tax filing

Thanks, Katrina. But what will I do next year, when I am living in AZ but earning all of my income in Maine? My understanding with remote work was that (with a few exceptions, like CA and NY), you only pay taxes in you state of residence (e.g. AZ, in my case), not in the state where your company is based.