AA 9950 then AA 2212 at O'Hare
Philadelphia → Chicago → Santa Ana
Timetable, Chicago time
13:49AA 9950 from Philadelphia at the gate
11:56AA 2212 to Santa Ana leaves the gate
22 h 07 apart on the timetable, overnight
AA 2212 leaves 22 h 07 after AA 9950 arrives on the timetable: more than half a day, so not a connection we count.