In the outdoors, it's 10 days, as long as you don't enter the cell in that time. If you do, the timer resets and you have to wait 10 days again. Indoors, I believe they reset when the dungeon/cave does, so 30 days if you cleared it, 10 if you didn't.