It is safe to leave tres leches cake out for up to 24 hours. Try to keep it away from direct heat and sunlight, since that may dry it out. You can also store it in the fridge or freezer-- just make sure you wrap it tightly with plastic wrap first!