Once you receive a green card, there are only two conditions required to keep it for life. First, you must not become removable or inadmissible. The most common way of doing this is to be convicted of a serious crime.
The second requirement is that you not abandon the United States as your permanent residence. As long as you are not planning to make your home somewhere else, then legally you are still a resident of the United States.