My spouse and I are legally married. She has SS# but it say on top of the SS# "valid for work only with DHS authorization" Can she still use this SS# to file taxes?

My spouse and I are legally married. She has SS# but it say on top of the SS# "valid for work only with DHS authorization" Can she still use this SS# to file taxes even though the work permit has expired?