Yes, rice will work even after a while, even after days. Rice will pull the moisture out. Sometimes there is permanent damage (rice won't fix this). Sometimes there's rust or corrosion which would require cleaning. Sometimes though, the moisture just causes a short (an example is my friend's iPhone button wouldn't work... it had been weeks). If the moisture is removed, it may fix some of the problems.
FYI: Silica packets also work.