I came back after leaving on less that the greatest of terms because of a lot of politics and no advancement potential. I had done a really good job and there was no professional resentment.
When I started talking to the company again I was not coming back for desperation. I was looking for a job, but I could afford to wait.
We talked I was able to create a role for myself that both the company and I liked. I was clear and up front about my goals and objectives.
I am now consideringleaving the company, but there are no hard feelings.
The key to having a good realtionship with any company is to be clear about what you want out of the relationship. Be realistic, but don't aim low.
If the company you are looking at can't give you want you want then walk away... if you find out your expectations were unrealistic then talk to them again.
If they can meet you money and career abjectives then go along for the ride until the company doesn't meet you needs. Be upfront with the company and let them know you are looking when you decide it is time.
This gives everyone a lot of respect, but you do have to be aware that not all companies operate above board... but then those probably aren't companies you want to workfor.
Steve