The Defendant in this case was released on bond with some conditions, including going to treatment followed by reporting to the County Jail when she completed treatment. When she failed to report to the jail, the State charged her with felony escape instead of violating the conditions of her bail, and she was convicted.
The appellate court ruled that, under these circumstances, she was not in custody when she failed to report, and therefore could not be charged with escape from confinement, reversing her conviction.
The case is People v. Elizabeth Clark
http://www.illinoiscourts.gov/Opinions/AppellateCourt/2017/3rdDistrict/3140987.pdf