The answer to this question depends on various factors, just as in the case of funerals with the body.
The place of death, the location of the crematory, scheduling a time for cremation, the schedule at the parish church, and other circumstances impact the timing. Once all arrangements have been made; you should generally allow at least one day between death and the celebration of the funeral liturgy.