The term “resident” is defined differently for US federal income tax purposes and US federal estate and gift tax purposes. The mismatch in the ...