Residence time in coastal canopies