He's been released on bail so legally there is no reason why he can't dance tomorrow. If it was near the beginning of the series the beeb might have asked him to leave the series, but as it's last few weeks, and Jade has already left a gap, I can't see them stopping him.
But just imagine: if Ricky wasn't allowed to dance and Ali breaks another toe-nail...... sorry, sprains her ankle again and withdraws, that would leave Na-alie, Chris and Laila to cover the show for the next 3 weeks! Yawn, or what?