If you keep a rental car without the permission of the rental company, then yes, you could go to jail for that.