Lily and James Potter did not hold conventional full-time jobs. They were active members of the Order of the Phoenix, a secret society led by Albus Dumbledore opposing Lord Voldemort.
James came from a wealthy pure-blood family (the Potter family fortune), allowing them to live comfortably in Godric's Hollow without traditional employment. James was also a celebrated Quidditch player at Hogwarts (Seeker for Gryffindor).
Their "work" was the resistance—clandestine, dangerous, and ultimately fatal.