NOC is needed so you can come back here in Doha and apply to another company. Or if they ended your contract and cancelled you, should wait 2 years so you can return and work.