State tax filing

I arrived in Sweden on July 28th. However, I lived in Chile from January 4th, 2024 to July 3rd, 2024. I think I can sum 330 days living outside the US with this. I did not work while I was living in Chile. I did not work in 2024 at all until I started my job in Sweden.