In order to answer correctly we need to know if you changed your work location as well as your residence.
Or, did you keep working at the same job in the same place and fill out a change (or certification) of residency to indicate you changed your residence?
Thanks in advance for the information.
Since you did all of the work in one state, the W-2 is correct to show all of the income as coming from that state.
Box 1 is for the federal taxable wages on Form W-2 Boxes 15 through 17 show the state information.
Many employers do not give two W-2s in your situation; but only give two lines of information in Boxes 15-17 on one W-2.
If there are amounts in each of the W-2s for box 16 State wages you could enter that amount in each of the two W-2s Box 1 that have entered into Turbo Tax.
It may also be possible for you to only enter one W-2 in Turbo Tax but to enter both state tax withholding amounts. (I can do this on my professional preparer software; but am not sure about your version).
As you may be aware, you will have to file as a part year resident in each of Virginia and Maryland and show the portion of the wages earned while a resident in the respective state returns. If that information is not on the W-2 Box 16 you will have to use your paystubs (or maybe just a computation if you have steady pay) to figure out the part that was earned as a resident of each state.
I hope this helps for entering the data for income earned in one state with two state withholding amounts.