I prefer dichloromethane from water work-up, Yo'ul ahve a better and rapid phase separation and good solubility of imidazole derivatives in the organic phase (CH2Cl2). Ethanol is miscible with water and you cannot extract the compound in this way
As stated above, depending on the substitution ethyl acetate should be OK, while ethanol would be miscible with any water present is definately not compatible with aqueous-organic biphasic separations. DCM is more toxic than ethyl acetate but quicker to operate a separating funnel with as it is more dense than water. I would stick with ethyl acetate for liquid separations, sometimes diethyl ether but that poses more of a fire and peroxide risk.
If your imidazoles are too polar and you cannot extract them efficiently with ethyl acetate, try 1-butanol. Word of advice: it extracts almost everything from water...