You can keep it in an airtight container for up to 5 days. Lay plastic wrap directly on the surface of the custard to prevent a layer of film from forming on the top.