Yes, if you have a reservation for 2 consecutive days, you can, of course, leave your luggage in your locker overnight.
However, you will not be able to access it during closing hours, which are between 10 PM and 8 AM.