Do you have to learn to write Chinese characters by hand?

Chinese characters are beautiful, but they take a long time to learn, especially if you want to be able to write by hand. But do you actually need handwriting? When might you be required to write by hand? And are there any other benefits with handwriting that might make it all worthwhile?