It's best to refrigerate your lemon tart after serving to prevent the filling from going bad. Leaving it out overnight could spoil the tart and make it unsafe to eat.