Nobody deserves life in prison unless you’re a murderer or someone who has physically hurt/abused those that cannot defend themselves (kids, elderly, etc etc ).
That said, choices have consequences. Being ignorant of the law or penalties isn’t a defense that works.