There is no “safe” window that makes a pregnancy- or leave-related firing legal, and no fixed period of automatic protection either. Courts look at the reason and the timing. Being let go shortly after returning invites scrutiny of whether your leave was the real motive. If the employer can prove a legitimate, unrelated reason, the timing alone is not enough – but close timing plus weak justification is exactly what builds a case.