Inherited money or other assets are considered separate property, which your spouse is not entitled to. However, the money/assets may be subject to equitable distribution if you commingle them with other marital money/assets.
This includes giving those inheritances to the children of the marriage or depositing the inheritances into a joint account. To keep the inheritance money/assets separate property, you must prevent them from being commingled with any account you share with your spouse