The distribution provisioning profile consists of a name, a distribution certificate, and an app ID. The name is used only so that you can identify a provisioning profile. A provisioning profile is valid for one year.
You have to create two Provisioning Profiles. One for testing on mobile devices. Another one for submitting to App Store.