If you use the low-level API of the module to specifying image geometry manually then you need to set all parameters (origin, spacing, axis directions).
Usually the output geometry is set by choosing a Reference volume - the resampled volume will have the exact same geometry as the reference volume.
If you don’t have a reference volume then you can use Crop volume module to compute the image geometry. The module sets the image geometry based on the ROI box, the Spacing scale value, and Isotropic spacing flag. The module uses Resample Scalar/Vector/DWI Volume module internally for the resampling.