If you have been granted legal residence then uncle sam owns you even if you have gone back to your country of origin.The IRS will probably require that you get something from us immigration which says that you have lost your residency.Otherwise they will continue to demand their cut.If you are paying taxes to a tax treaty country then it can be arranged that you dont pay double.