The answer's really quite simple -- there are five ways to get out of jail. You will have to use all of these methods if you get a perfect score during the game. I have attempted to list the simplest of the methods first. You can only use each of these methods once during the game.