Coffee is fine to drink for 24 hours even if left at room temperature, but its taste won’t be very pleasant if you leave it sitting around that long.