The court shall set a hearing to be held within 5 days, excluding Saturdays, Sundays and holidays, after its receipt of the second certificate or after the respondent is admitted to a mental health facility, whichever is earlier. The court shall direct that notice of the time and place of hearing be served upon the respondent, his attorney, and guardian, if any, his responsible relatives, and the facility director. Unless the respondent is admitted pursuant to Section 3-704, he may remain at his residence pending the hearing. If, however, the court finds it necessary, it may order a peace officer or another person to have the respondent before the court at the time and place set for hearing.
405 ILCS 5/3-706