This is actually the case with most reptiles. The females have the ability to lay, but whether the instinct kicks in for them that actually causes them to lay is dependent on the individual reptile.
In most cases, they'll simply re-absorb the eggs before they calcify.