soap vs. shampoo

can you use dove liquid soap in your hair instead of shampooo?

edit: it would just be a one time thing. it wouldn’t be an everyday occurrence. just if i run out of shampoo, is it “safe” to use on my hair for one or two days tops?