Hey! When you exit and re-enter the map to signify the passing of time NPCs will be found randomly at one of their routine locations rather than starting their routine from home during the day.
NPCs inside their home can do whatever you set their custom move route to be. You can make NPCs appear inside home's by creating an event with them and setting the requirement for that NPCs "home switch" to be set to TRUE