According to the law, it's illegal for unmarried couples to stay in the same room during a holiday in Dubai. In reality, this is not strictly enforced and it's unlikely you'll be challenged on it. Many unmarried couples visit Dubai every year without issue.