I cant understand anything from your question, Dont think others also.

Still, I assume your problem and answer as

1) You have to review your present Resident permit before exiting the Qatar.

2) Suppose If you have exited the Qatar without renewing your Present RP, you have to apply for the same again via your sponsor say your Husband. Mean while you can enter the country in visit visa.

3)If you got your family visa after exiting, ofcourse you can enter in family visa.