A divisional application can be filed from a parent patent application at any time while the parent application is pending.
When the parent application is accepted after examination, the deadline to file a divisional patent application is 3 months from the date of advertisement of acceptance of the parent application. This is also the deadline to pay acceptance fees for the parent application to grant.
When the parent application fails to proceed to acceptance after examination, e.g., because it has not been possible to overcome one or more examiner objections, any divisional application must be filed before the acceptance deadline expires. The acceptance deadline is 12 months from issuance of the first examination report.
If the parent application has already lapsed before these dates however, e.g. due to intentional non-payment of a renewal fee, it is no longer possible to file a divisional application.