The IRS only uses "occupation" for statistical purposes; the occupation you enter has no effect at all on your refund or tax due. Since you are preparing a 2023 return, it would make sense to use the occupation she had in 2023, but it will not really matter.