My mother is a widow - spouse died 11/19/22. Sold her house on 8/15/23 with capital gains of $350,000. She should qualify for $500,000 capital gains exclusion, correct?

No deductions for office etc on the home and no other homes have been sold using the exclusion.