If you paint without removing the molding, then remove the molding after, wouldn't you leave a stripe of unpainted wall at the base? If you are going to keep the same molding, then put cover it with tape when you paint. If you are not going to keep the same molding, first remove it and then paint.