When someone other than a spouse inherits an IRA, the rules are strict, and most have to empty it within 10 years. A surviving spouse gets more choices. The decision has real consequences, and the right one depends mostly on your age and whether you need the money now.
Option one is to roll the account into your own IRA, treating it as if it had always been yours. The upside is that the account grows on its own timeline. Required minimum distributions, or RMDs, which are the amounts you're forced to withdraw once you reach a certain age, follow your age and not your late spouse's. If you're younger than your spouse was, that can mean more years before RMDs begin. The downside is that it's now your account for all purposes, so withdrawals before age 59 and a half generally face the 10 percent early withdrawal penalty on top of income tax.
Option two is to keep it as an inherited IRA with you as the beneficiary. The advantage is that withdrawals from an inherited IRA don't carry the 10 percent penalty, no matter your age. If you're 52, widowed, and need to draw on the money, that can be a large difference. The tradeoff is that the distribution rules follow the inherited IRA rules, and you may have to start taking withdrawals sooner than you would under the rollover.
You can also combine them over time. Some people leave the account as an inherited IRA until they turn 59 and a half, then roll it into their own. The rules around timing and elections have changed in recent years, and not every custodian handles them the same way, so ask before you move anything.
Withdrawals from a traditional IRA are taxed as ordinary income either way. Roth IRAs inherited from a spouse have different rules, since qualified withdrawals can come out tax-free.
A rollover done wrong can be hard to undo. Ask the custodian to do a direct transfer so the money doesn't pass through your hands, and don't spend or move anything until you've confirmed which option you're choosing. Check the beneficiary form on each account too, because an old form can still name an ex-spouse. My post on the five-minute beneficiary checkup shows what to look for. And compare it with the 10-year rule that applies to other heirs.
This is education, and I'm a licensed insurance broker, not a CPA or attorney. A tax professional should run the numbers for your age.
Before you decide, write down your age, whether you need any of the money in the next five years, and the age your spouse was, since those three facts drive the choice.