No, it's not necessary to have a separate circuit. You can share the same circuit as long as it doesn't exceed the maximum amperage rating.  But it would be best to have a dedicated circuit to avoid overloading it. Most of the people who have their well pumps on a shared circuit use a GFCI outlet.