A parking sharing strategy is proposed to solve the problems of parking difficulty caused by the imbalance between parking spaces and parking demand. The vacant parking spaces of residential area can be efficiently utilized to meet the parking demands of those who are working at nearby or come for other activities based on the parking sharing strategy. The paper analyzes the distribution of vehicle arrival numbers and parking durations, then establishes a shared parking allocation model aiming to maximize the parking benefit considering the overtime-parking behavior of the parking users. Simulation methods are used to the analyze the relationship among the parking benefit, proportion of reserved parking, numbers of parking demand, acceptance rate of parking demand and utilization of shared parking spaces. Then, based on the principle of maximum parking benefit, we can determine the optimal proportion of reserved parking, number of shared parking spaces that should be purchased from the residents. Taking the utilization of shared parking spaces as an indicator, the validity of the static allocation principle is proved to be effective. Some allocation rules for parking demand are proposed to guarantees the maximum parking revenue and minimum impact on residents simultaneously.