Yes. Go into settings, then App Store, then log in on the Apple ID that you used to purchase the app, then go into the App Store app, go to "purchased", find it, download it, then enjoy.
Then go back into settings, App Store, then log into your current Apple ID, and continue to enjoy.