Every elective office shall become vacant on the happening of any of the following events before the expiration of the term of such office:
No elective office, except as herein otherwise provided, shall become vacant until the successor of the incumbent of such office has been appointed or elected, as the case may be, and qualified.
An unconditional resignation, effective at a future date, may not be withdrawn after it is received by the officer authorized to fill the vacancy. Such resignation shall create a vacancy in office for the purpose of determining the time period which would require an election. The resigning office holder may continue to hold such office until the date or event specified in such resignation, but no later than the date at which his or her successor is elected and qualified.
An admission of guilt of a criminal offense that would, upon conviction, disqualify the holder of an elective office from holding that office, in the form of a written agreement with State or federal prosecutors to plead guilty to a felony, bribery, perjury, or other infamous crime under State or federal law, shall constitute a resignation from that office, effective at the time the plea agreement is made.
For purposes of this Section, a conviction for an offense that disqualifies the holder of an elective office from holding that office shall occur on the date of the return of a guilty verdict or, in the case of a trial by the court, the entry of a finding of guilt.
This Section does not apply to any elected or appointed officers or officials of any municipality having a population under 500,000.
10 ILCS 5/25-2