Dear Statalisters,

I am studying the following question: "What is the impact of distributing dividends on sales while the firm is experiencing a loss"?
I have the following information
Firm year Distribute=1 Sales
F1 2000 1 1000
F1 2001 1 2000
F1 2002 0 500
F2 2000 1 1000
F2 2001 0 2500
F2 2002 1 3000

The question here: can I use Diff in Diff in this case? Please note that here I cannot insert a time from which the program starts as there is not fixed year of program. This totally depends on the firm and the year of treatment.
If can I use diff in diff, what command can fit my data so I have robust results?