Was it wrong that he was doing it in his apartment, putting all the other tenants at risk? Absolutely, but I don't think he should be put in jail, just reprimanded and told where to perform experiments in a safe environment. Who knows, maybe his experiment would have worked w/o all the cigarette smoke and ash.
The only reason I post this comment is because this guy is exhibiting the hacker spirit that we all do, just in a physical science instead of computer science. I would be upset if someone told me not to play with data structures they way they won't let him play with chemicals. (Again, I know its not the same thing in practice but it's the principle.)