Hi Snehalata,
I have read all the advises and found one thing very surprising that no body has mentioned about the companies rights, that what action company can take. You might feel little hard but this is the truth. Since all the companies has a written manual on 'code of ethics' and as confirmed by you, your boss has already convinced the senior management about your bad performance and rudebehaviour. In this case, company can legally terminate you on grounds on unethical behaviour and under-performance. Also, if company feels that you can 'in any ways' spoil the culture of organization, company has all the rights to terminate your services with immediate effect without giving any notice period. In your case, since company has asked you to resign, you have upper hand.
Market condition is worst and it is really difficult to get another good job in short span of time. What is happening to you is part and parcel of professional life. I suggest you to have a meeting with any of the senior person in your company and try to convince him that there are differences of opinion in between you and your boss and ask for the change in any other function and show your willingness to work with the same company.
Always talk good about the company and same time by using any strategy also try to come in good terms with your existing boss.
Always, one can fight with one or more individual bu can not fight with one function or organization.
Can you disclose, you company is into which sector?
Regards,