Does changing templates affect my sites SEO?

I’m planning on changing my current website’s template; however, will this affect my website’s SEO? To reduce effect I’m planning on keeping all website homepage and page URLs exactly the same.