You must enable archivng when deploying a project to collect all information about the project.
If archiving is enabled globally in Proc Admin, but you do not enable archiving during deployment, old process instances are not archived. You must re-deploy the project to enable archiving. This redeployment requires a project version change.