Yes it does. Since Qatar is a very conservative country, we should follow their rules. You were not allowed to stay in Doha if you're not married (if pregnant). For some instances, you will be in trouble so better yet, wait for your due, get marry and move to Doha! :)