A taxpayer’s status as a resident or nonresident is not always straightforward. A dual-status taxpayer, for example, may qualify as both a nonresident alien and a resident alien during the same tax ...