The IRS knows that people move all the time. Just make sure that the address you use on your tax return is the address you want the IRS to use if they need to send you a letter or a check.
As for the state----you may have issues regarding which state they employer withheld tax for. What are the two states involved?
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**