Not really. Presumably a criminal justice system ought to be designed to be effective at rehabilitating and deterring crime. That's a strictly empirical enterprise that needn't concern itself with abstract notions of free will.
The law could of course codify its own definition of free will, which it typically does, but again this need not be affected by outside notions.