Sleep on it means "sleeping on it" literally, but its real meaning is to think seriously about a subject before making a decision, moreover, it is implied in the expression go home and turn the night, that is, think about something from time to time, with time.