Will it work inline to extract water?

No, this is a particle separator made for dust.