A cat can be in a room without a litter box for two days, but it is not recommended. A cat will usually start to urinate and defecate outside of the litter box if it is not cleaned often enough or if the box is too dirty.