It’s not about the right time. The reason for leaving it’s what’s important.
Children learn to depend on themselves more when they stay by themselves. And asking your child to take responsibility for themselves isn’t a bad idea. In fact, once the child is 4, they already started doing house chores and helping with small errands.
Therefore, after 18, the child should be taking care of some financial responsibility too. Leaving the parent’s house or not shouldn’t stop the child from being financially responsible.