Can a social security number be "invalid" ?

I am a resident alien. I married in 2019 with a non-resident. She has a social security number from 2018 that she got when she was an intern for 3 months in US. Now, she is back to our home country. Can I use her social security number on our taxes? Or her social security number is somehow invalid?

 

Thanks