Get your taxes done using TurboTax


@Japtrupusz wrote:

Thank you! Somebody advised me I need to file 1040 as a resident and 1040NR as non resident as I abandoned my green card and that I am a dual status taxpayer. I lived in the US for 7 years and left in November, worked only for a month in Slovakia after moving there permanently. 


If your ending date was earlier in 2022, so that you did not pass the substantial presence test, you might be a dual status alien. But since you do meet the substantial presence test, you are considered a US resident for the whole year.  If you remain overseas, you would be a non-resident for 2023 and would only file a 1040-NR if you had US-source income (income that was "effectively connected" to the US.)

 

Here's another link.

https://www.irs.gov/taxtopics/tc851