Here's the official word from USCIS:
QUOTE
Maintaining Permanent Residence
Maintaining Permanent Residence You may lose your permanent residence status if you commit an act that makes you removable from the United States under the law in section 237 of the Immigration and Nationality Act. If you commit such an act, you may be brought before the immigration courts to determine your right to remain a Permanent Resident.
You may be found to have abandoned your permanent resident status if you:
* Move to another country intending to live there permanently.
* Remain outside of the US for more than one year without obtaining a reentry permit or returning resident visa. However in determining whether your status has been abandoned any length of absence from the US may be considered, even if it is less than one year.
* Remain outside of the US for more than two years after issuance of a reentry permit without obtaining a returning resident visa. However in determining whether your status has been abandoned any length of absence from the US may be considered, even if it is less than one year.
* Fail to file income tax returns while living outside of the US for any period.
* Declare yourself a “nonimmigrant” on your tax returns.
Note that above quoted item says that any length of absence may be considered as abandonment depending on USCIS' determinationl You will have to be able to prove that your main residence is still the US (bills, own/rent a home, other assets in the US).
Please also note that if you are planning on applying for naturalization, any stay outside the US in excess of 6 months will reset your "continuous residence" clock and you'll have to accumulate eligibility time all over again.