As I understand it the law is very clear that single people can not live in villas full stop. This law has always existed but has never been properly enforced. If you are married and your wife has a Dubai residence visa you are okay even if she doesn't live here full time. In fact all she has to do is pop in for a day or so every six months to keep the visa valid.
How Emirates get around this for single captains will be interesting.