Often in emerging male sexual dreams soap and shampoo represent ejaculated semen.

A woman will often dream of shampooing her hair when a relationship breaks down; presumably she is instinctively aware that she must intellectually free herself.