Yes, data center plays a very crucial role while choosing a web hosting plan. E.g. if you are targeting Indian traffic then it is better that you choose an India based servers. Similarly, if your audience is from USA, then better to choose the USA based server. This will help your website to load faster and get better ranking on those countries.