If you're getting paid during your maternity or parental leave, then that is considered paid family leave for tax purposes. However if you're not getting paid, then your leave would not be considered paid family leave.

Is maternity or parental leave considered paid family leave?
SOLVED•by TurboTax•408•Updated January 13, 2023