As per my experienced

1. You need to exit before submission of documents to immigration if NO NOC. if ever you have NOC no need to EXIT.

2. If your previous sponsor not give NOC, you need to cancel your visa then exit the country. [Note: You can stay in Dubai Airport maximum 5 days with out any penalty]

3 As soon as possible inform your husband after your exit the country, immediately go to immigration to apply your visa. ***Reminder*** Visit Visa first Issue is better than to other visa. after your come back here, try to residence.

Goodluck...

Bangasamoro