The rice thing is not beneficial no matter how many times you read about doing that on the internet. The physics of leaving your phone for 48+ hours simply means that the water will evaporate on its own. The goal is to dry the thing out as fast as you possibly can to prevent corrosion. Spilled coffee, I'd be inclined to wash the phone under water, assuming you've got enough in there to gum up the works with sugar. Fill up your sink - if you're paranoid you can use distilled water - and dunk away. Strip it down to parts, towel it off, and then leave it in a warm dry environment, Somewhere between 40 and 60 degrees C. A hair dryer can provide this for you, or the oven. (Avoid the microwave)