A completeness result for time-dependent vector fields and applications