You have posted that:
“1. My company has stated in my offer letter that i cannot join the competitor company for two years after getting relieved from my company. If in case i join the competitor company as soon as i got relieved, can they take any legal action against me. “
Non Compete clause and agreements may very well be in force during the tenure of employment with employer that has drafted and signed such clause or agreement.
Indian courts have consistently been declining to enforce Non Compete clause and agreements post termination of employment as it hits Indian Contract Act and right to earn and livelihood.
Employers and their counsels are also aware of it. Still such clauses and agreements are drafted believing that it shall exert some psychological pressure.
“2. If in case they come to know that i am joining the competitor company and they don't relieve me, can i take any action against them.“
Since you have signed such agreement by your free will the vindictive and zealous HR, Line Managers, employer himself or his legal counsel on whose advice and payment of fees such clauses and agreements are drafted may suggest the employer to issue notice, legal notice or even file a case however it may not stand the test of law.
Being aware that such contentions of legal injury may not stand test of law employer may resort to tactics like the one pointed by you.
However it may become an act that can be contested claming it as ‘Discriminatory Retaliation’, to vindicate and cause harm.
It shall be appropriate to insert in notice of resignation, subsequent communications, final resignation that you have affirmed to handover charge/company property (if any), no task is pending at your end and also to prepare a list of payables by you to company and by company to you (ask to confirm it) and thus build a favorable record in writing that nothing is due at your end but is due at the end of employee.
The very purpose of notice of resignation is to grant time to employer to put his house in order, arrange to complete exit formalities, handover of charge, NOC/NDC, and prepare FNF statement and to supply within last day in office acceptance of resignation, service certificate, relieving letter, correct FNF statement for verification and acceptance by employee, payment of FNF dues, Form 16 as per correct statement, attestation of PF forms, insurance/ESIC card etc.....................
If all of this is not possible by your own efforts then at least obtain acceptance of resignation, and NOC/NDC even if from your reporting authority.
You must possess such skills to ensure it.
Reliving letter signifies that employee has been relieved since nothing is due against employee.
You must firm up preferably in writing with next employer that you have shown the appointment letter, non compete agreement etc of current employer an due to reasons......................................e.g. non compete agreement the current employer may not issue and supply reliving letter and....................................etc and you can supply it till it is issued and supplied by current employer, therefore the next employer should absorb you on the strength of copy of resignation and its POD alone. And that your employment shall not be terminated for the want of reliving letter.
If you are not able to handle it on your own you may seek help of employee’s union, trade union leaders, lawyer/law firm.
You must not that you have cited Non Compete clause/agreement only while the document containing clauses is not shown.
Such document may contain clauses on Non Solicitation, Data Protection etc........................which may remain in force.......................................for a reasonable time.............................The statements and language of the statements shall matter a lot.
Reasonableness of matter and amounts if any is disputed and not agreeable by employer/employee then is to be decided by court of law.
It shall be appropriate to show all docs and records to a competent and experienced labor consultant/service lawyer having expertise in such matters and give inputs in person.
The lawyer that has seen and analyzed the inputs can advice you the best.
You may proceed under the expert advice of your lawyer.