Allow leavers access for a short time to download any docs etc
Allow leavers access to their peopleHR account for a short time (maybe 28 days) post leave date to ensure that they are able to access copies of documents and holiday allowances etc to make copies should they need them.