So I guess the take away is on your last day of work, don't just zip up and ftp any code from your company, it's just not worth it.
Not just "not worth it" but actually illegal.
The only question of debate here is whether jail time was warranted here.