UA 3878 then UA 2604 at Houston
Chicago Rockford → Houston → Cancún
Timetable, Houston time
23:27UA 3878 from Chicago Rockford at the gate
12:00UA 2604 to Cancún leaves the gate
12 h 33 apart on the timetable, overnight
UA 2604 leaves 12 h 33 after UA 3878 arrives on the timetable: more than half a day, so not a connection we count.