Deductions & credits

Did it work or you had to do dual-status? it seems we have to do both 1040NR  + 1040 as we become nonresident aliens once we left the US.