I didn't say that. Whilst you can reduce your chances of ending up in prison by not commiting crimes, that doesn't guarantee that she won't end up in prison. She could end up getting falsely accused of something she didn't do, get remanded into custody (which means prison in the UK), then acquitted after a trial because she didn't do anything wrong, or the Prosecution couldn't prove it.