Yes, in-app purchase data is saved to the server, so you can restore purchase data when you re-install the game.