You can place it anywhere you like, If it is in your current directory, then the command to write is
Code:
dd if=./rootfs.img of=/dev/sdd1 bs=1024
If it is in the directory /home/user
then
Code:
dd if=/home/user/rootfs.img of=/dev/sdd1 bs=1024
Clear as mud?