Each campus at the University of Illinois has unique policies on how and when NetIDs expire for former students and staff. Links to details on these policies are provided here.
UIUC:
Undergraduate students have one year after they leave the University until their affiliation expires, at that time they will no longer have access.
Graduates, Faculty and Staff have 30 days from date of termination (in banner) before their affiliation expires.