How did you handle your job when leaving to have your baby?

I have a feeling my doctor is going to take me out of work. I'm 22 weeks pregnant with mono di twins and it's considered high risk. My boss asked if I intend to come back. I'm definitely not coming back but in order for me to obtain disability payments I have to intend to return. How would you suggest I handle this? Or how did you handle it?