There are certainly times when the minimum required notice will be just fine. But other times where it's better to let them know what's going on in advance. If you choose the 2nd, don't just tell them you're leaving. Tell them the situation, and that it isn't a sure thing yet. I did that twice at a previous job, and both times ended up staying.