I don't think the argument here is against jail time. Just that the reasoning it will work as a deterrent is flawed.
Unfortunately, we/I don't have a good answer to your question what to use as a deterrent. The problem is a) people do not act rationally in a universal way b) people are bad with statistics c) arrest precision (Pr[you get arrested|you commit a crime] is not that great.
(c) is subjective so let us forget about it. If the criminal was rational then they would think as follows:
Pr[caught]Cost-Pr[not caught]Pr[succeed|not caught]payout >0
=> commit crime. Humans are pretty bad at underestimating probability of events against them and overestimate their chance of success (people buy lottery tickets for instance).
If a criminal is irrational, deterrents will not really work by definition -- you might be able to make due in a per case basis.
You can view this as a different version of lottery ticket. No matter the risk of wasting your money, people are going to keep buying them. It really baffles me too.
P.S.
Consider now an extreme version tried in the past -- you commit even a simple crime, you are executed. First, this is a waste of resources (you could still use these individuals). In any system of law, yet in particular in a common law system, where the weight of precedence and law interpretation is much greater, every single one of us has almost surely committed a crime by some interpretation, obscure law etc.
Second, as a criminal at that point you are going to escalate. The damage a single individual can cause to society on average has increased dramatically over time. Do not think about gun ownership. A man can just run over a busy intersection in their attempt to escape.
To give some weight to my words, here is a personal story. My car was hit by an individual in a car a couple of years back on my way home. The driver drove the wrong way on a one way street, panicked and crushed into me. Instead of pulling over the they attempted to escape. In the process, pedestrians had to jump for their lives, while another car was hit also.
That person endangered the lives of several people, damaged one more car, to avoid a DUI (my opinion from their erratic behavior and appearance). So only by luck, a possible DUI/crash did not upgrade to mass murder.