yes, you still need to pay for your loan. in fact, the letter you submitted to the bank when you applied for the loan contains something like: "in case of resignation/termination, the company shall inform the bank and deposit the end of service benefits to his account"

I don't mean to scare you but I know some people have been jailed for not being bale to pay for their loan. Also, according to grapevine some people with loan are sometimes held at the airport even if they intend to come back to Qatar. This is due to the fact that there were many cases of workers running away from their loans and credit cards. They take vacation and then they don't return to Qatar anymore.

Also in the news sometime ago - Dubai banks were running after borrowers in their home country...