A sample of hard water is allowed to pass through an anion exchanger. Will it produce lather with soap easily?

No. $C{{a}^{2-}}$ and $M{{g}^{2+}}$ ions are still present and these will react with soap to form curdy white ppt. Therefore it will not produce lather soap solution easily.