Yes. Let's say you decide to delete a release from availability for whatever reason. You will still get any earnings you may have earned while your music was live on streaming services, up until the point it disappears. The earnings will flow through to your account, as per the following reporting schedule.
Expect to wait up to 1-2 weeks for your deleted music to disappear from all streaming services, sometimes sooner.