If one receives a stipend for an elected position and does not complete the full term are they required by law to return a portion of the stipend paid if no contract was signed?

There is quite likely to be some law that addresses this very subject - however, common-sense would seem to dictate that the un-used portion of the stipend (due to the officeholder leaving office) need not be paid or, if paid in advance, would have to be returned.