Do you have to notify your boss/HR within a certain amount of time for FMLA?

I'm not planning to announce at work until I absolutely have to, but I wanted to make sure I'm not jeopardizing FMLA eligibility.