If it's from a big company, it won't matter because they only disclose dates of employment, not why you don't work there anymore.
I got fired and charged with trespassing, and it never caused any problems in future employment. The criminal record doesn't say I was fired as well (that would not be good
). As long as I disclose the misdemeanor for a background check, I'm fine.