Once you get your green card, you would need to file for a I-131 Permission for Re-Entry. It can be issued for I believe up until 2 years. It can be renewed, however the renewal period if granted is much shorter. I have heard many people miss that part and think they can get a second 2 years.
http://www.uscis.gov/i-131

