What is the procedure

If you don't get well and can't go back to work after fmla is up? You don't want to go on disability but you aren't healthy to return to work for 2 weeks notice. How can you resign (under the circumstances you aren't physically well)? Anyone experience this?