If they have not given you one month notice, you are eligible to ask for one month salary. If you find another job now, they should give you an NOC to transfer your sponsorship to new employer. If you exit Qatar and they cancel your RP, you will be able to come back later if you find another job but on new work Visa and then you have to go through all the process of applying RP again once in Qatar.