System -> Configuration ->  Catalog - Inventory  -> Product Stock Options -> Automatically Return Credit Memo Item to Stock

Set to Yes