It depends on the network, which controls the length of the ‘unbonding period’--which is the time between when you request your assets to be unstaked and when those assets are actually unstaked by the network. This period applies to the originally delegated amount and re-delegated amounts - it does not apply to any rewards that were nor re-delegated. As an example, the unbonding period on Matic is approximately 9 days at the time this post was written.