No, it's not the same at all.
Distilled water is heated and becomes steam at some point...and so heavy particles that cannot become steam are eliminated, and bacteria is killed by the high temp.
A dehumidifier does not kill any bacteria, nor does it remove heavy particles.
Don't drink it!
OK I'm trying to understand the diference here

First off I never mentioned bacteria or drinking , I think a little bleach and proper cleansing of the condenser would be important for drinking in an emergency

What I'm not quite getting ( I can be a little thick headed sometimes ) is that you mention that the water is heated and becomes steam , or water vapor ? And the heavy particles cannot become steam , or water vapor , correct ?
Then my simple mind (

) does not understand that those " heavy particles " can be held in the air , Humidity , or water vapor . Please in laymans terms explain this.
I grant you that bacteria , and other nasties are in the air , but , the condensation from the air moisture should not have those heavy particles.
A few drops of salt water that evaporates off the table leaves a residue, I thought that was the heavy particles.
Is it just air polution that off sets the closed process of " distilled " water ?
Not trying to be a jerk , I'm just currious .
Phil