Yes. Virginia will tax your income regardless of where you earned it. The purpose of the D-40B is to get back the mistaken withholdings from DC (DC does not tax a nonresident of DC), but then you include the income in your resident state return and pay tax on it there. All wages are considered earned income.