(725 ILCS 5/109-2) (from Ch. 38, par. 109-2)
    Sec. 109-2. Person arrested in another county. (a) Any person arrested in a county other than the one in which a warrant for his arrest was issued shall be taken without unnecessary delay before the nearest and most accessible judge in the county where the arrest was made or, if no additional delay is created, before the nearest and most accessible judge in the county from which the warrant was issued. He shall be admitted to bail in the amount specified in the warrant or, for offenses other than felonies, in an amount as set by the judge, and such bail shall be conditioned on his appearing in the court issuing the warrant on a certain date. The judge may hold a hearing to determine if the defendant is the same person as named in the warrant.
    (b) Notwithstanding the provisions of subsection (a), any person arrested in a county other than the one in which a warrant for his arrest was issued, may waive the right to be taken before a judge in the county where the arrest was made. If a person so arrested waives such right, the arresting agency shall surrender such person to a law enforcement agency of the county that issued the warrant without unnecessary delay. The provisions of Section 109-1 shall then apply to the person so arrested.
(Source: P.A. 86-298.)