California pregnancy disability

Anabel
Hello ladies
Today I am 36 weeks. I was wondering if to be able to qualify for pregnancy disability will I have to file today or can I still apply say at 37 or 38 weeks if I still feel up to working a little longer?