UA 3501 then UA 5821 at O'Hare
Kansas City → Chicago → Milwaukee
Timetable, Chicago time
17:05UA 3501 from Kansas City at the gate
09:02UA 5821 to Milwaukee leaves the gate
15 h 57 apart on the timetable, overnight
UA 5821 leaves 15 h 57 after UA 3501 arrives on the timetable: more than half a day, so not a connection we count.