A Nigerian woman will be able to give birth outside of prison and, along with her former lover, prepare an appeal against a sentence to death by stoning.