Yes--and you will have to enter your spouse's Social Security number as well. The IRS cross checks when you file as MFS so they can see that you follow the rules for filing that way. When you file MFS you both must file the same way--either you both itemize or you both take your standard deduction.
If you live in a community property state, it gets much more complicated, and you will have more information to enter regarding your spouse and their income
Community property states: AZ, CA, ID, LA, NV, NM, TX, WA, WI
https://ttlc.intuit.com/questions/1901162-married-filing-separately-in-community-property-states