Her prison time was for obstruction of justice, wasn't it? For lying to investigators? [1] I think she only faced civil charges for the insider trading.
[1] https://people.com/why-did-martha-stewart-go-to-prison-11918...