Lawful permanent residents may depart the United States for extended periods without loss of status, as long as they are not deemed to have abandoned their residence in the United States.
Residents do not lose status if they leave the United States under the right circumstances.