It depends.
If you were a nonresident of New Jersey for the entire year, you may not have a filing requirement. See below for the threshold requirements for filing depending upon your income level and filing status.
If you determine you do need to file in New Jersey, try verifying your input using the following steps. This will ensure you are entering the income as earned within each state and are taxed accordingly.
You will make your entries in the "My Info"section of TurboTax.
Confirm that you have entered the correct state information:
Once you enter this information, you should go back into the W-2 input under income.
Select Edit for this W-2 and scroll down to box 15, State & Local Taxes.
You will then continue to the state questions.
Prepare the Nonresident New Jersey state tax return first.
Once you have entered all of the New Jersey information, then start your Virginia return. Virginia taxes its residents on all income regardless of the source.
Once you have entered your information in the nonresident return, the information will pull into your resident return for Virginia to ensure you receive any credits for taxes on income which may have been taxed in both states. You will see this under the credit section as Credit for Taxes Paid to Other States.