Casting a spell and then preparing a new one while the previous is still in effect


Classes like the artificer can prepare a new spell list in 1 minute, can an artificer cast a long-duration spell such as false life (1 hour), and immediately prepare a new spell list while retaining false life’s effects?