No, but that's why not everyone facing a criminal charge for which a conviction results in a jail term is remanded in custody. The punishment for conviction in a serious criminal matter is jail. By remanding people in custody you're pretty much imposing the punishment for being found guilty before the conviction.