Income reported on W-2 is fully taxable to the recipient regardless of the location where work was performed and regardless of the country where is resides. There is no exemption or reduction in U.S. tax owed on that income. However, if that income was taxable in your resident country you can claim foreign tax credit to eliminate double taxation.