::
I came to the US in 2019 on a student visa and US law doesn't consider a student to be a tax resident, so I didn't leave Brazil permanently, otherwise I wouldn't have been tax resident in both countries. Now in 2022 I received my green card, but I still have income in Brazil and because I am a partner in a company I don't want to leave and be treated as a foreigner and I also have more than 20 years of INSS contributions. How would my situation be in this case, if I leave permanently can I retire in Brazil? And if I don't leave permanently, can I be penalized in any way?