What has happened with your is quite unfortunate. Nevertheless, while emphasizing, it is pertinent to have some clarification as well.
When the management goes on to the extent of immediate termination and tells you to vacate house also, this goes on to show that there is something more than meets the eye. Whatever you have mentioned in your post, is this the complete information? Why things came to such a pass? Did you have face off with any senior? Was there any safety lapse from your side? Did any external agency conduct safety audit in the recent past? If yes, then in their safety report, did they bring out any safety lapses?
What about your staffs? How many report to you? Was there lapse on their part that questions your managerial skills? What about your personal conduct? Did any woman employee make complaint against your?
Ideally any termination should be preceded by domestic enquiry. Nevertheless, should the need arise in a court of law, they should prove credibility of their action. If the court observes that the grounds for termination were not sufficient, then court treats the termination null and void. In your case, Corporate Head HR has signed your termination letter. When such a senior person signs termination letter, he/she must have taken some protective cover. While HR is expected to play the second fiddle to the management, that is why they are employed for, your HR must have taken precautionary measure to avoid future legal hassles. You need to find out what are those legal grounds and whether these are sufficient to stand legal scrutiny.
If your post is taken at its face value, then it can be deduced that your termination can be challenged. However, before taking a course of litigation, please find out inner information if it is possible.
Last but not the least, take this termination as accident of your career. We all of us meet accidents. Do not put you down. Take the dues from the company and start looking for new job. Hopefully, your company should not harass you in providing you the experience-cum-service certificate.
Dinesh V Divekar
10th October 2014 From India, Bangalore