A re-entry permit is required if staying outside US for over 1 year. A special visa is required if staying outside US for over 2 years. When you pass the border, the immigration officer or border police will ask you why you are outside US and how long.