Since you posted this in the corn snake area, I'm going to assume that you're referring to a female corn snake and not a ball python or other python.
The reason to take them away from the female corn is that she will not incubate them. Corn snakes, from all of my experience, are "lay and forget" snakes. In the wild they will find a nice secluded place to lay their eggs and then move on. This is why corn snake eggs are so resilient and withstand a myriad of conditions.
Plus, as stated above, even if she did want to incubate them, you will get her feeding and back into a healthy condition if you take them away and put them in an incubator.