The confidentiality obligation does not have to have an end date. But often the information will no longer be confidential at some point. If you agree on an end date, you include it in the NDA. Make an estimate of the duration of the period in which the information must remain secret.