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.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**