When any of you divorce your wives , divorce them during their period of purity and calculate the period carefully : be mindful of God , your Lord . Do not drive them out of their homes , nor should they themselves leave , unless they become openly guilty of immoral conduct .