Illinois law allows either parent to file a request for an emergency ex parte custody order if they fear for their child’s safety and health. An order that is issued ex parte means that it is issued without prior notice to the other parent, based solely on your affidavit/testimony.
If the judge issues an ex parte order, the judge will schedule a hearing within 14 days, and the respondent must be served at least 5 days before the hearing. At the hearing, the other party can object to the ex parte order continuing, and it will be up to the judge to decide whether or not to continue the order.