A ruling by the supreme courts makes it illegal for women to be prosecuted for having an abortion.