Virginia would be the residence state and Maryland would be non residence state. I believe you will be filing as the taxpayer and your wife the spouse. As the taxpayer, Virginia where you have lived all these years should be the residence state.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"