If it is only vacation then it is a matter of how many days is the company giving you for that.

On the other hand an expat with RP can not stay outside Qatar longer than 6 months, since after that time the RP is automatically suspended/cancelled.

Regards!!