What happened to criminals with light sentences during the war?

by Cerbrix

People in prison for sentences for crimes like theft and tax evasion during WW1 and WW2, would they be released in order to fight?

Georgy_K_Zhukov

To be clear, what war? World War II?