887.17 Deposition, use of in other actions. When a deposition shall have been lawfully taken in any action it may be used in any trial, inquiry or assessment therein, and it may also be used in any other action between the same parties, including their respective legal representatives, involving the same controversy, if it shall have been duly filed in the first mentioned action and have since remained in the custody of the clerk of the court where the same was pending, subject to the same objections as if originally taken for such other action.