Indoors or out, Peace Lilies don’t like direct sun. They can handle low light, so placing them on in a sheltered position by a window on the southside of your house/garden/courtyard is recommended.
They like most soil but do not overwater. They can handle a little dryness once established outdoors.
Remove dead leaves and flowers regularly, they ain’t comin’ back. If you’re storing them indoors, wipe the leaves occasionally so the pores don’t block up with dust.