Oracle losing connection ( ORA-03114 ) after some time not using the software
Yes, that will work. The 10 is a value in minutes (documentation link).


  To specify a time interval, in minutes, to send a check to verify that
  client/server connections are active


The official Oracle documentation regarding DCD (Dead Connection Detection) is here. 

The primary purpose of SQLNET.EXPIRE_TIME=10 is to clean up dead connections, but (I quote):


  A less common usage scenario for DCD is to keep database connections
  alive when an external firewall timeout is configured to terminate
  idle connections