In my opnion, it's very useful to listen to lots of different accents as you learn, so that you have more experience understanding the different people you will meet.
Listen to native speakers to learn how to pronounce things, of course.
But personally I think communicating effectively and speaking well is more important than trying to sound British or American in particular.