A developer may need a residual stock loan after completing a project but before all units are sold, particularly if they require funds to maintain cash flow or invest in new projects.