Since most election law is decided at the state level, many laws are different from state to state. The right to vote during and/or after confinement is an example of this. Illinois Election Code states that no person shall be permitted to vote if he or she has been legally convicted, in this state or another state or in any federal court, of any crime, and is serving a sentence of confinement. Confinement is defined as any person convicted and imprisoned, including those granted a furlough or admitted to a work release program. Confinement does not include any person convicted and imprisoned but released on parole. Confinement or detention in a jail pending acquittal or conviction of a crime is not a disqualification from voting. (10 ILCS 5/3-5)
In summation, if you are in jail awaiting trial, you can still vote. If you have been convicted but have finished serving your time, you may vote.