If you are meaning the MIL or engine fault light, then yes, if you remove the source of the fault, then clear all stored fault codes, that will put that light out.
Sorry meant to say the bulb out error light. If i was to remove bulb then clear faults reinserting the bulb wont that cause the error on the dash to show again