Hi Vasyl,
You should be able to do so in Insert/Update Before events: in the code of event handler you can traverse your object tree and build ItemUrl from ItemNames of all parent nodes.
Note that you should use Before event which is triggered before the item gets saved into the database, so that you can easily generate ItemUrl and it will be written in the DB.