If your spouse's mother died after the mother's required beginning date for RMDs (which is likely to be the case since you said that the mother had already been taking RMDs), your spouse is required to take annual RMDs under the 10-year rule. However, because this IRS took until 2024 to issue the final regulations regarding this, the IRS has waived the penalties for 2020 through 2024 for failing to take these RMDs, so no RMDs needed to be taken under the 10-year rule for these years.
(In 2022 it was commonly believed that the IRS would interpret the 10-year rule created by the SECURE Act of 2019 as never requiring annual RMDs, but that turned out not to be the case.)