If luggage has been checked through to its final destination, it will generally remain in the baggage system and will not need to be claimed despite a layover. This is true whether the layover is several hours overnight or the same amount of time during the day.