When the soil around the roots pf a Peace Lily becomes too dry, the plant wilts quickly and pathetically. However, it will perk up within several hours of a thorough watering.
When the soil around a Peace Lily stays wet for too long, then the tiny root hairs rot and are no longer able to absorb water, even though water is available. If a wilted Peace Lily does not perk up when the soil is wet or damp, then that is a clear indication that the roots have been severely damaged and may not recover.
In either case, repotting it is not going to help because it is not a substitute for proper watering. Dry soil needs to be watered more often not a larger pot. Rotted roots need a chance to dry out and adding more or fresh soil works against the drying process.
The tiny root hairs do most of the work and are easily damaged by improper watering and also by repotting and removing soil.
Peace Lilies do not do well outdoors. They must be protected from direct sun at all times; they need temps above 60 degrees F. and their leaves are easily damaged by wind and hard rain. They do best indoors on a north windowsill.