SS Spousal Benefit timing when divorced

I will be retiring in 2025 at the age of 62 and filing for SS benefits. I was married for nearly 25 years, am now divorced, unmarried with no plans to re-marry.  My ex-wife will not be 62 until 2028. Her lifetime earnings far exceed mine. When will I be able to claim the spousal benefit based on her earnings if I file for benefits next year based on mine? Or does my filing at 62 affect this higher benefit?