when i still had my residence permit in qatar i spent almost 1 year and 6 months in the US when i came back to qatar they made me pay the 100USD fee (because i'm an american citizen) for the 30 day visit visa just to enter. upon my arrival my RP was still considered valid. the problem is no matter what after 6 months you have to pay a fee for reentering the country.