This means that you're completely subject to US tax law, even if you leave the US. Congratulations! You're now subject to FATCA!
I think there are other ways of losing permanent residence, but the only guaranteed ways are when you renounce or when the US takes it from you. Either way, you better have written proof.
If you're a long-term permanent resident (8 years or more), then you're subject to the same expatriation tax rules as US citizens. The IRS agents that I spoke to were all friendly and helpful, but unfortunately none of them knew the expatriation rules. It wasn't as bad as it may sound, but it wasn't fun either.
You also have to file a preliminary tax return before you actually leave the country (informally called the sailing permit).
Anyway, just leaving the US isn't good enough when you're a permanent resident and until you're through the process you're on the hook. And don't forget to meet FACTA requirements for the year in which you gave up PR...
You can lose your PR status simply by:
> Fail to file income tax returns while living outside of the United States for any period. [1]
But they do require you report your loss of PR status to the IRS.
So I wonder if failing to file thus losing your status would count as good enough to the IRS.
[1] https://www.uscis.gov/green-card/after-green-card-granted/ma...
As for the IRS, the rules are in the instructions to form 8854[1]:
> Date of termination of long-term residency.
> If you were a U.S. long-term resident (LTR), you terminated your lawful permanent residency on the earliest of the following dates.
> 1. The date you voluntarily abandoned your lawful permanent resident status by filing Department of Homeland Security Form I-407 with a U.S. consular or immigration officer.
> 2. The date you became subject to a final administrative order for your removal from the United States under the Immigration and Nationality Act and you actually left the United States as a result of that order.
> 3. If you were a dual resident of the United States and a country with which the United States has an income tax treaty, the date you commenced to be treated as a resident of that country and you determined that, for purposes of the treaty, you are a resident of the treaty country and gave notice to the Secretary of such treatment. See Regulations section 301.7701(b)-7 for information on other filing requirements if you are such an individual.
[1] https://www.irs.gov/pub/irs-pdf/i8854.pdf
EDIT: These are the rules for long-term permanent residents (8 years or more). I don't know what the rules are for other permanent residents, if there even are any. But you're probably better off if you clearly state your intent and file I-407.
My guess would be "no". The rules are interpreted by the system to benefit the system. If this means that the rules are arbitrary, capricious, and inconsistent... so be it.
Personally I find all this 'citizen as property of the state' stuff to be rather revolting, and in direct contradiction of such sentence fragments as 'the land of the free'.
The definition of "US person" just linked to is not accurate for FATCA. You are still considered a US person even after you leave, because you must have had a green card, and even after that green card expires you are still a US person for another decade if you don't get it explicitly revoked:
http://www.ustaxfs.com/what-is-a-us-person-for-irs-tax-purpo...
In my opinion working remotely from a nice and affordable country is the best bet for skilled tech workers. Right now the US market is good but maybe in the future the money will be in China. You can work for the same startups from your bungalow in a tropical country instead of having to live over there. Maybe you can rationalize moving there today because of high salaries but that will inevitably change and when that happens you might regret committing to the US.