If you really need to, you can cool them together. If they are both well, it won't hurt them. When you warm them up to start feeding them again, they should be in separate cages. Keep them this way until after your female has shed. She should now be ready to breed. It is at this point that you introduce her to the male in his cage.
After coupling, remove the female, give her a few days to recover, and introduce her to the male again. Repeat this a few more times, and then keep them apart until you are ready to cool them again.
There have been many posting as why one should not house snakes together. I am sure if you scan some of the back postings, you can find plenty of posts telling why this is not a good way to keep your snakes.
Best of luck with your breeding projects,
Rick
Mother with eggs
