Tax Year Prior to 2020: 8332 form

My ex and I separated in Aug of 2018, and now share joint custody of our daughter. We agreed he will claim her for 2018 since he had more income for that year, do I need to file 8332 form?