If done correctly, it won’t. As long as the agency you’re working with follows best practices to maintain your current URL structure and implement accurate 301 redirects, you can avoid permanent negative effects and take advantage of the positive SEO effects of your reorganisation.