As long as you store the website files on a network share or an FTP where both computers can access it, you should be able to do it just fine.
but like when i click save in dreamweaver and it asks if i want to update all files based on that template will it know that they are based on that template since they weren't created on that computer?
I haven't used Dw in a while, but from what I remember, it checks the modified date on the files to determine which ones to overwrite.