If you have a permanent residency status, yes you may come back.
Contact an immigration lawyer to discuss your case if you have the 2 year conditional residency status and you have not yet filed to remove the conditions.
You are welcome to contact me if you wish via link provided below.
If you are a green card holder you may live, work and travel like any other person in the United States.
Keep in mind that if you are outside for 6 months, you may be presumed to have abandoned status and this will cause problems with entry and delay citizenship.