Registering with the Pennsylvania Department of State allows you to start operating legally in PA while incorporating as an S-corp, C-corp or LLC entity on the federal level gives you some other benefits like forming a board of directors, shareholders, and follows tax advantages under IRS rules.