If you abandon your permanent residency, you lose your right to work and to stay in the United States. Merely letting your Green Card expire does not cause you to lose permanent residency status, but you won't be able to satisfy the legal requirement that you carry evidence of your immigration status. You can have difficulty obtaining employment, and returning to the U.S. from other nations.
Consult an immigration lawyer about your "legal issues" and options.

