If your final product is solid its better not to remove water, because organic compound not soluble in water ultimately your product precipitated out as water molecule increase in reaction mixture and your separation of the product is easier otherwise best to use Dean Stark apparatus for water removal.