The activated ability must be played before damage is actually dealt, otherwise, the Spiritualist would be dead.

The ability sets up replacement effects that replace the damage event the next time it would happen. There doesn't have to be any damage anywhere to actually set up the replacement, the replacement just sits around until that event occurs or until the turn ends.