New ssn after working undocumented

My spouse finally obtained legal status after years of filing with itin. Question is, if he worked 6 months before getting ssn how will he combine those w2's? Will he submit both? Or file 2 separate returns.  To clarify he would file with itin.