It depends on the contents of the water sample and what remains on the filter.
Filtering the water sample and preserving the filter within 24 hours of sample collection is the recommended approach. Preserved filters should be sent to the laboratory to have eDNA recovered as soon as possible.