Can my wife claim spousal Social Security as a permanent resident from Ukraine?

“She’s only worked since 2021 and won’t be able to work six more years.”