I may be a bit late here, but anyway....
Using an electrolytic cap for this application is a bad idea. Electrolytic caps have high ESR, so you'll always get some of your PWM signal appearing superimposed on the output of your filter. The output will never be quiet, stable or accurate - it'll always have this noise on it.
To see why, think about the equivalent circuit of the cap: it's like an ideal capacitor with a small resistor in series, and for an ordinary electrolytic this can easily be 1 Ohm or thereabouts. (There are plenty of other parasitic elements too, but they're less likely to be important).
The output of your filter will be the voltage on the 'ideal' capacitor plus the voltage across the ESR resistor. If your series resistor is 10k, and the ESR of the cap is 1 Ohm, you'll see 1/10001 of the PWM signal superimposed on your filter's output, which is (say) 33mV if your PWM signal is a 3.3V CMOS signal. That may be fine, of course - only you know that.
There will be series inductance too, which may become significant if your PWM signal is high frequency.
However, why not use a ceramic 10uF cap which will have much lower ESR and ESL? It could be 10mOhm or less, giving a much quieter output.