You definitely should. If you are going to leave the house empty for a long time, then it's a good idea to turn off the water from the main supply. This will give you peace of mind as it ensures that no major leaks will happen while you're away.
Click here to read more.