This depends on your funder’s requirements. Guidance from research councils varies from between 3 months and 2 years post-collection. Check your funder’s requirements.
Most funders will allow you a period of exclusive first use of your data to allow you to publish your outputs and/or file any patents arising from your work. In order to maximise the impact of your data, you should still upload a full metadata entry into e-space at the earliest possible opportunity.
For research funded by Manchester Metropolitan University, research data should be stored in e-space at the end of the project, or by the date of first publication, whichever is earliest.