DL 2646 then DL 5702 at Boston
Chicago O'Hare → Boston → New York JFK
Timetable, Boston time
23:08DL 2646 from Chicago O'Hare at the gate
21:30DL 5702 to New York JFK leaves the gate
22 h 22 apart on the timetable, overnight
DL 5702 leaves 22 h 22 after DL 2646 arrives on the timetable: more than half a day, so not a connection we count.