They could work assuming you had both an energy source and a heat dump. For example the ISS could use a dehumidifier to collect sweat and process it because it has large solar panels and can dump heat to space. However, as described they are not going to work.
Here's one in lieu - the stillsuits in "Dune" could not work. They use evaporative cooling ("Perspiration passes through it, having cooled the body") but turning the evaporated water back into a liquid - which is condensative warming - requires more energy than was needed to cool the person in the first place.