You cannot save the unit of dimension into STL or OBJ files. The files will retain the proportion of the model, but they will be unit-less.
When you open a STL or OBJ file in 3D Builder, it will ask you what unit to use (e.g. mm, cm, etc.). Make sure you pick the right one before importing.