How would putting them in separate rooms allow them to get to know each other? He gave up trying to get to his food, I think he's hungry but he's just resting now

His cage really is small, I really would like to move him to the big cage, does it have to be 30 days..?