Is it okay to go days without washing hair?

For the health of it :)