Waiving the 8 week waiting period after resignation.

Hi all! I’ve recently resigned from my long term job due to my mental health and finish up work soon. So much has happened this year and I just couldn’t deal with the anxiety and stress caused by my job & workplace.

I’ve read that there is an 8 week waiting period if you resign from your job, but also that it can be waived if you truly had to leave for your health.

What would I need to get from my doctor so that this waiting period could be waived?

TIA & happy weekend.