You've probably seen it on our site many times. Never invest in stocks with money that you will need in the next five years. That applies to money that's already invested , too. If you intend to spend money from an investment account, that amount should come out of the stock market well in advance of when you'll need it. If you really need, or really want, to spend that money within five years, stick it somewhere safe.
Many retirement plans rely on a mix of stocks, bonds, and cash.
This plan does, too, but not in quite the same way. Here's how it works. You simply continue to do that throughout your retirement. This way, your money is there when you need it, plus a bit of interest, and money you don't need for at least five years is working hard in the stock market. You can modify this approach according to your risk tolerance.