Leaving for more than a year constitutes abandonment of permanent residency. You need to review the USCIS website to see the ways in which a person qualifies for a green card. Your SSN is your forever; not so residency if you do not fulfill the requirements.

