
Donald Trump got into trouble the other for, if you read the media, suggesting that women who seek abortions should be punished if abortion was made illegal in the US. Much as I dislike the Trump and fear for the US and possibly the world if he should become president, he is right.
It’s the conditional that makes the difference. If abortion was to be made illegal, it would make it a crime, and all crimes have an associated punishment. I think that Trump made a political misstep, and that he should have stood firm on the matter, explaining the logic of his statement.

He doesn’t even have to support the outlawing of abortion. He just has to explain the logic. Of course, if abortion were illegal, then the doctors and nurses who perform the operation would also be help responsible and punished. But if abortion were ruled illegal then the woman seeking the abortion would be breaking the law, and that implies punishment.
I personally believe that abortion, per se, should never be made illegal, although it should not be treated as just another birth control method, and should not be undertaken casually by the woman, or casually by the doctors and nurses. Clearly something living dies in the process.
The Trump got caught out by knee-jerk and politically based reactions all round. Logically, the stand makes sense – if a crime is committed, then the perpetrators should be punished. Trump wisely backed down on this position in the case of a hypothetical law, and may have missed his chance at the presidency because of this political gaffe on a hypothetical situation!
Crime and punishment go together like Adam and Eve, like right and left, like good and evil, like a fine rump steak and a good Cab Sav. Ahem. As a determinist, I feel that choice is illusory and that the apparent choices that we make in fact depend totally on past events that narrow down our options to just one.
Let’s take the case of a woman who “chooses” to have an abortion. She may have been informed that this is the safest option by medical specialists, she may be carrying a child who will not be viable when delivered because of genetic and other defect, or she may unable to care for a child for whatever reason. There is always a reason.
The woman balances all the information that comes to her and uses that information to “choose” to have an abortion. What really happens is that all the factors added together result in her trying to get an abortion.
You could of course argue that she could/should have decided to have the baby and adopt it out (assuming that the child is viable outside the womb, but that option is often not viable.
In general, punishment of a criminal is used to deter other criminals (and the criminal his/her self) from committing a similar crime in the future. Punishment should always give the criminal and similar people like him/her pause for thought. It is a factor that determines whether or not someone commits the crime in the future.

When a criminal is thinking about committing a crime he/she will (consciously or unconsciously) consider the implications. If he/she chances it anyway, that will be because the pros outweigh the cons from their point of view at the time, not as a result of any free choice.
If someone is starving they may well steal a loaf of bread as one of the pros in the case may be continuing to live. This trumps any cons there may be if the person is desperate enough. Of course the person may be caught and fined or imprisoned or even transported to Australia, but at least he/she will be alive!

The justice system still works even if the concept of choice is removed. The person who commits a crime does so because they cannot do otherwise, and any punishment is merely the result of the actions that the person is destined to take. Such punishment is seen by others and becomes a factor that is considered when another person is contemplating a similar crime.
All the factors that go into the mental consideration of committing a crime result in either the crime being committed or not. They don’t result in a choice being made as the factors involved result in the person committing the crime or alternatively the factors may add up to the person not committing the crime.

If you get people to “make a choice” where they have no sufficiently compelling reason to “choose” one way or another, they find it very difficult to do so. For example if you put a person in a room with two unmarked buttons and told them to push a button when a buzzer went, I’d say that they would initially have great difficulty, but once they had pushed a button once, it would become easier, I suspect.
If asked why they pushed one button on the third trial, they might reply that they had pressed the other button twice so it was the button’s turn to be pressed. Consciously or unconsciously I’d suggest that they would be led to make the choices random.

If the experimenter then pauses the test and mentions that the subject had favoured one button over the other and then continued, I’d guess that this would cause the subject to favour the unfavoured button more. I have no idea if such experiments have been done.
We are machines of meat, and machines don’t have any choice – they behave in a way that is built in, or lately, programmed in. Would you punish a machine that gives an answer that doesn’t satisfy you? You’d maybe add a new input into the machine to achieve a desired result.
In humans punishment is a new input. It could affect the result of the calculation that the brain makes and hence the human would come up with a result different to the result that would be observed without the punishment. Perhaps if or when machines become intelligent, it may be that we will need to introduce the concept of punishment to make them do what is required. Let’s hope not.