Realistically I imagine that having access to resurrection would have fairly dramatic consequences on how a society applies punishment. It'd probably be a crime of some sort to revive the executed, sorta equivalent to breaking someone out of jail, states might be more harsh with handing out death penalties when it is possible to undo them if new evidence is found, and the remains of the executed probably would be carefully stored and locked up to prevent unwanted revival and to have in case the state decides to bring someone back, assuming the body is needed for it.
Might also get things like a monarchy which kills off heirs to the throne after a certain age and stores them careful to revive when the current monarch dies or abdicates, to prevent scheming between them to increase their place on the line of succession or take over from the current ruler early, and to ensure they are young and healthy when they take the throne.