Yes, it is safe. But it is strongly advised to store distilled water in glass containers if the process is done at home. However, if the original container is plastic, it is not recommended to switch to another container. Plastic releases certain chemicals that can contaminate water over time, so while distilled water does not expire, if its container is plastic, it is best to consume it before it becomes contaminated by plastic.