Yes, you can apply the retainer of a parent project to the invoices of its phases and sub-phases. You can also use the client retainer on various projects of that client and transfer retainers between projects and clients. Check CORE Help Center for details on retainers.