In Illinois the law states that cyclists must ride as close and practicable as safe to the right hand curve or edge of roadway, except under certain conditions. If you are in the middle of the lane it will all depend on how the LEO interrupts the law if you get a ticket or not.
http://www.isp.state.il.us/docs/5-035.pdf