Shed is the first and most basic building to provide sleep for your characters.
You can set for each character individually when they should go to sleep so that there is always someone working on a map.