While stupidity isn't a crime, people like Serge manage to find their way around that obstacle. It's pretty obvious he didn't have any malicious or illegal intent, but he definitely followed the checklist of 'things not to do when leaving a job'. Emailing yourself code? Seriously? The whole thing is a travesty, but he walked right into it.
At a company like that where IP is highly valuable and you are paid handsomely, you know right off the bat that every character of code you right belongs to the company before even seeing employment and/or confidentiality agreements.
Dating another woman or stuffing a large object in your trunk late at night right after your wife dies, does not look good. You may very well be innocent, but it doesn't look good.