Yes, you need to re-post in immigration.
DISCLAIMER The answer provided above serves for educational purposes only and provides general information and a basic understanding of the applicable law. Take notice that the answer above does not create an attorney-client relationship as this website is not intended to provide anyone a specific legal advice. Anyone using the site expressly consents that there is no attorney client privilege between any person and any attorney responding. Further take notice that the site should not be used as a substitute for any professional and competent legal advice by a licensed professional attorney in the applicable jurisdiction. The attorney above attempted to provide competent professional information, however, the law and its applications may change frequently and vary greatly from other U.S. jurisdictions and locales. Therefore, any information and materials provided above are general in nature, and may not apply to specific factual and legal circumstances related to one's personal legal issues. Contact an experienced lawyer admitted to practice in your State under an attorney-client privilege to further receive a competent legal advice before making any important decisions about your particular legal issue.
First go see an immigration attorney and take your court papers. Different USCIS offices have different policies on how to handle the five year good moral character requirement. Its also important that you check there are no other red flags - even ones that you are not aware of. Your residency doesn't expire in 2017. Just that you will need to renew the card, and that's an extra cost. Good luck!