Yes, Bearded Dragons need UVB lighting and generally you want the dragon to be able to get within about 10" of the light (assuming the light is in the cage).
As far as I recall (been a while since I had my iggy and bearded) the UVB lights should be changed every 6 months. I had used reptisun 10.0
Calcium and UVB so the lizard does not develop MBD